package Command;

import Server.Command;
import Server.cmdArguments;

public class MeanCommand implements Command{
	private cmdArguments args;

	@Override
	public String execute() {
		return "The average value is "+args.bst.averageValue();
	}

	@Override
	public String undo() {
		return "The request for the average value can't be undone, please try again";
	}

	@Override
	public void setArgs(cmdArguments args) {
		this.args = args;
	}	
}
